/*  1:   */ package org.jetbrains.jps.model.impl;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.JpsElement;
import org.jetbrains.jps.model.JpsElementChildRole;
import org.jetbrains.jps.model.JpsElementCollection;
import org.jetbrains.jps.model.ex.JpsCompositeElementBase;
import org.jetbrains.jps.model.ex.JpsElementContainerEx;
import org.jetbrains.jps.model.ex.JpsElementContainerImpl;
import org.jetbrains.jps.model.ex.JpsExElementFactory;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */
/* 10:   */
/* 11:   */ 
/* 12:   */ public class JpsExElementFactoryImpl
/* 13:   */   extends JpsExElementFactory
/* 14:   */ {
/* 15:   */   public JpsElementContainerEx createContainer(@NotNull JpsCompositeElementBase<?> paramJpsCompositeElementBase)
/* 16:   */   {
/* 17:33 */     if (paramJpsCompositeElementBase == null) {
/* 18:33 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/impl/JpsExElementFactoryImpl", "createContainer" }));
/* 19:   */     }
/* 20:33 */     return new JpsElementContainerImpl(paramJpsCompositeElementBase);
/* 21:   */   }
/* 22:   */   
/* 23:   */   public JpsElementContainerEx createContainerCopy(@NotNull JpsElementContainerEx paramJpsElementContainerEx, @NotNull JpsCompositeElementBase<?> paramJpsCompositeElementBase)
/* 24:   */   {
/* 25:39 */     if (paramJpsElementContainerEx == null) {
/* 26:39 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/impl/JpsExElementFactoryImpl", "createContainerCopy" }));
/* 27:   */     }
/* 28:39 */     if (paramJpsCompositeElementBase == null) {
/* 29:39 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "1", "org/jetbrains/jps/model/impl/JpsExElementFactoryImpl", "createContainerCopy" }));
/* 30:   */     }
/* 31:39 */     return new JpsElementContainerImpl(paramJpsElementContainerEx, paramJpsCompositeElementBase);
/* 32:   */   }
/* 33:   */   
/* 34:   */   public <E extends JpsElement> JpsElementCollection<E> createCollection(JpsElementChildRole<E> paramJpsElementChildRole)
/* 35:   */   {
/* 36:44 */     return new JpsElementCollectionImpl(paramJpsElementChildRole);
/* 37:   */   }
/* 38:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.impl.JpsExElementFactoryImpl

 * JD-Core Version:    0.7.0.1

 */